package List.Properties;

public class Properties {
    public static void main(String[] args) {
        java.util.Properties pro = new java.util.Properties();
        pro.put("driver","com.mysql.jdbc.driver");
        pro.put("username","root");
        pro.put("password","123456");
        String v1 = pro.getProperty("driver");
        String v2 = pro.getProperty("username");
        String v3 = pro.getProperty("password");
        System.out.println(v1);
        System.out.println(v2);
        System.out.println(v3);
    }
}
